//
//  MapButton.m
//  XhlTrip
//
//  Created by dlios on 15/9/28.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "MapButton.h"

@implementation MapButton
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        
        self.imageV = [[UIImageView alloc]init];
        
        [self addSubview:_imageV];
        
        self.lable = [[UILabel alloc]init];
        self.lable.textColor = [UIColor whiteColor];
        self.lable.font = [UIFont systemFontOfSize:15];
        [self addSubview:_lable];
        
    }
    return self;
}
-(void)layoutSubviews
{
    self.imageV.frame = CGRectMake(70, 30, 30, 30);
    self.lable.frame = CGRectMake(50, 70, 100, 30);
}

@end
